import request from '@/utils/request'

// 查询鱼类检测结果详情列表
export function listFishDetectionResult(query) {
  return request({
    url: '/system/fishDetectionResult/list',
    method: 'get',
    params: query
  })
}

// 查询鱼类检测结果详情详细
export function getFishDetectionResult(resultId) {
  return request({
    url: '/system/fishDetectionResult/' + resultId,
    method: 'get'
  })
}

// 新增鱼类检测结果详情
export function addFishDetectionResult(data) {
  return request({
    url: '/system/fishDetectionResult',
    method: 'post',
    data: data
  })
}

// 修改鱼类检测结果详情
export function updateFishDetectionResult(data) {
  return request({
    url: '/system/fishDetectionResult',
    method: 'put',
    data: data
  })
}

// 删除鱼类检测结果详情
export function delFishDetectionResult(resultId) {
  return request({
    url: '/system/fishDetectionResult/' + resultId,
    method: 'delete'
  })
}
